package com.mdd.system.params;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * 代码生成业务实体
 */
@Data
public class GenTableParam implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String tableName;
    private String tableComment;
    private String subTableName;
    private String subTableFk;
    private String subTableFr;
    private String authorName;
    private String entityName;
    private String moduleName;
    private String functionName;
    private String treePrimary;
    private String treeParent;
    private String treeName;
    private String genTpl;
    private Integer genType;
    private String genPath;
    private Integer menuStatus;
    private Long menuPid;
    private String menuName;
    private String remarks;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
